package io.renren.modules.workmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.workmanagement.entity.CourseEntity;
import io.renren.modules.workmanagement.vo.ClassCourse.CourseCourseVO;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author yewei
 * @email sunlightcs@gmail.com
 * @date 2022-02-19 16:02:49
 */
public interface CourseService extends IService<CourseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveCourse(CourseEntity course, Long userId);

    List<CourseEntity> getByDepartmentId(Long id);

    List<CourseCourseVO> getMyCourse(Long userId);

    List<CourseEntity> likeByName(String key);
}

